package com.ev.hr.service;

import com.ev.hr.domain.SalaryFormulaChildDO;

import java.util.List;
import java.util.Map;

/**
 * 计算公式方案子表
 * 
 * @author ev-monitor
 * @email 286600136@qq.com
 * @date 2020-05-06 10:32:23
 */
public interface SalaryFormulaChildService {
	
	SalaryFormulaChildDO get(Long id);
	
	List<SalaryFormulaChildDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SalaryFormulaChildDO salaryFormulaChild);
	
	int update(SalaryFormulaChildDO salaryFormulaChild);

	int updateAll(SalaryFormulaChildDO salaryFormulaChild);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

    void removeByMainId(Long mainId);

    List<Map<String, Object>> listForMap(Map<String, Object> param);
}
